package com.cdwm.mrp.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @version v1.0
 * @Author: lyw
 * @Date: 2021/8/3
 */
@Data
@TableName("tb_project")
public class Project extends SuperEntity{

    @TableField("project_name")
    @ApiModelProperty("项目名称")
    private String projectName;

    @TableField("project_contact")
    @ApiModelProperty("项目联系人")
    private String projectContact;

    @TableField("project_description")
    @ApiModelProperty("项目说明")
    private String projectDescription;

    @TableField("remote_connection_mode")
    @ApiModelProperty("远程连接方式")
    private String remoteConnectionMode;

    @TableField("remote_connection_address")
    @ApiModelProperty("远程连接地址")
    private String remoteConnectionAddress;

    @TableField("remote_connection_password")
    @ApiModelProperty("远程连接密码")
    private String remoteConnectionPassword;

    @TableField("is_complete")
    @ApiModelProperty("项目是否完成")
    private String  completeFlag;

    @TableField("completion_time")
    @ApiModelProperty("项目完成时间")
    private Date completionTime;

    @TableField("project_remark")
    @ApiModelProperty("项目备注")
    private String projectRemark;

    @TableField("customer_id")
    @ApiModelProperty("客户id")
    private Long customerId;

//    @TableField("interface_doc_id")
//    @ApiModelProperty("接口文档地址")
//    private Integer interfaceDocId;

    @TableField(exist = false)
    @ApiModelProperty("客户名称")
    private Customer customer;

    @TableField(exist = false)
    private List<InterfaceDoc> interfaceDocs;
}
